//
//  PrivateTaxCalcMasterViewController.h
//  PrivateTaxCalculator
//
//  Created by albert ma on 12/21/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PrivateTaxCalculator.h"
@class PrivateTaxCalcDetailViewController;
@class PrivateTaxCalculator;
@interface PrivateTaxCalcMasterViewController : UIViewController
{
    PrivateTaxCalculator *privateTaxCalulator;
}
@property (retain, nonatomic) IBOutlet UITextField *incomeTextField;
@property (retain, nonatomic) IBOutlet UITextField *insurenceTextField;

@property (retain, nonatomic) IBOutlet UITextField *taxTextField;
@property (retain, nonatomic) IBOutlet UITextField *needPayIncomeTextFieldOld;
@property (retain, nonatomic) IBOutlet UITextField *needPayIncomeTextFieldNew;
@property (retain, nonatomic) IBOutlet UITextField *postTaxIncomeTextFieldOld;
@property (retain, nonatomic) IBOutlet UITextField *postTaxIncomeTextFieldNew;
@property (retain, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;

- (IBAction)touchScreen:(id)sender;

- (IBAction)clearUpAllInput:(id)sender;
- (IBAction)goToDetailView:(id)sender;
- (IBAction)calculatePrivateTax:(id)sender;
@end
